package his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class User {

    @TableId(value="ID",type = IdType.AUTO)
    private int ID;

    @TableField(value = "Username")
    private String UserName;

    @TableField(value = "Password")
    private String Password;

    @TableField(value = "RealName")
    private String RealName;

    @TableField(value = "UseType")
    private int UseType;

    @TableField(value = "DocTitleID")
    private int DocTitleID;

    @TableField(value = "IsScheduling")
    private char IsScheduling;

    @TableField(value = "DeptID")
    private int DeptID;

    @TableField(value = "RegistLeID")
    private int RegistLeID;

    @TableField(value = "DelMark")
    private int DelMark;
}
